import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPersistedState from 'pinia-plugin-persistedstate';

// @ts-ignore
import App from './App.vue'
// @ts-ignore
import router from './router/index.js'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// @ts-ignore
import zhCN from "element-plus/dist/locale/zh-cn.mjs" //引入中文

import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';


const app = createApp(App)

app.use(createPinia().use(piniaPersistedState))
app.use(router)
app.use(ElementPlus, {locale:zhCN})
app.use(Antd)

app.mount('#app')
